package com.atguigu.gulimail.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@SpringBootApplication
@RestController
@MapperScan(basePackages = {"com.atguigu.gulimail.order.dao"})
public class GulimailOrderApplication {

    @RequestMapping("test")
    public Object test(){
        Map map = new HashMap();
        map.put("1", "2");
        return map;
    }
    public static void main(String[] args) {
        SpringApplication.run(GulimailOrderApplication.class, args);
    }

}
